let initialStgate= -1
const menu = (state = initialStgate, action) => {
    switch (action.type) {
        case 'MAIN_SET_CURRENT_SEL_MENU':
            return action.menuId;
        default:
            return state
    }
}

export default menu